home *** CD-ROM | disk | FTP | other *** search
/ El Mac 9 / El Mac 9.iso / Shareware / Applications / Charting Coach v1.5 / Charting Coach v1.dxr / 00076.ls < prev    next >
Encoding:
Text File  |  1996-04-08  |  713 b   |  31 lines

  1. on mouseUp
  2.   global previewOnly
  3.   if the doubleClick then
  4.     exit
  5.   end if
  6.   if not objectp(printer) then
  7.     cursor(0)
  8.     alert("There is no currently selected printer. Printing features are disabled.")
  9.   else
  10.     set previewOnly to 0
  11.     if the hilite of member "printbioData" then
  12.       if count(bioInfo) > 0 then
  13.         printBioData()
  14.       else
  15.         cursor(0)
  16.         alert("Biographical data for this cycle has not yet been entered.")
  17.       end if
  18.     else
  19.       if objectp(printer) then
  20.         mainPrintOrder()
  21.         if printer(mDoJobSetup) = 1 then
  22.           printer(mPrint)
  23.         end if
  24.       else
  25.         alert("No printer selected.")
  26.       end if
  27.     end if
  28.     prepfrontpage()
  29.   end if
  30. end
  31.